<html>
<head><meta charset="utf-8"><title>cmake for profiler_builtins? · t-compiler · Zulip Chat Archive</title></head>
<h2>Stream: <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/index.html">t-compiler</a></h2>
<h3>Topic: <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/cmake.20for.20profiler_builtins.3F.html">cmake for profiler_builtins?</a></h3>

<hr>

<base href="https://rust-lang.zulipchat.com">

<head><link href="https://rust-lang.github.io/zulip_archive/style.css" rel="stylesheet"></head>

<a name="224962282"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/131828-t-compiler/topic/cmake%20for%20profiler_builtins%3F/near/224962282" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> anp <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/cmake.20for.20profiler_builtins.3F.html#224962282">(Feb 03 2021 at 01:24)</a>:</h4>
<p>i'm poking at the build for the profiler_builtins crate (trying to get code coverage under wasm) and finding myself having to make changes to both compiler-rt's cmake configuration and to the <a href="http://build.rs">build.rs</a> for profiler_builtins. i notice that the bootstrap binary uses the cmake crate to drive the llvm build for x.py, would it be reasonable to have the profiler_builtins buildscript also use cmake? it would introduce a requirement on cmake for any place where std is built with <code>profiler = true</code> in config.toml, which may be a concern</p>



<hr><p>Last updated: Aug 07 2021 at 22:04 UTC</p>
</html>